package com.zhentao.controller;

import com.zhentao.domain.SysBattery;
import com.zhentao.domain.vo.Result;
import com.zhentao.service.SysScarifyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: SysScarifyController
 * @Desrciption: Mr.chengfenzhan
 * @Author: 知安_程烽展
 * @Date: 2024/9/9 9:31
 */
@RestController
@RequestMapping(value = "/scarify")
public class SysScarifyController {
    @Autowired
    private SysScarifyService sysScarifyService;
    @PostMapping("/addData")
    public Result addData(SysBattery sysBattery){
        return sysScarifyService.addData(sysBattery);
    }
}
